package com.freesky.common.dao.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_item_desc")
public class ItemDesc extends Model<ItemDesc> {
    @TableId(type = IdType.INPUT)
    private String itemId;

    private Date created;

    private Date updated;

    private String itemDesc;


    @Override
    protected Serializable pkVal() {
        return itemId;
    }
}
